from pathlib import Path
# from conf.config import CONFIG
from .send_requests import main
print('__file__={0:<35} | __name__={1:<20} | __package__={2:<20}'.format(__file__, __name__, str(__package__)))


def get_filepath(filepath=None, study_uid=None, series_uid=None):
    """
    """
    # if not filepath and not study_uid:
    #     raise Exception("filepath与study_uid至少需要一个参数")
    # if study_uid:
    #     loc = Path(CONFIG.orthanc_storage).joinpath(study_uid)
    #     if series_uid:
    #         loc = loc.joinpath(series_uid)
    # else:
    #     loc = Path(filepath)
    # files = []
    # for x in loc.iterdir():
    #     if x.is_dir():
    #         for y in x.iterdir():
    #            files.append(y.resolve())
    #     else:
    #         files.append(x.resolve())
    return ""
